package com.sdms.core.rbac;

public enum Right {
	
	R_VIEW_ITEM (false),
	R_VIEW_LIST(false),
	R_ADD_ITEM(false),
	R_UPDATE_ITEM(false),
	R_CANCEL_DELIVERY(true),
	R_CREATE_USER(false),
	R_REMOVE_USER(true),
	R_CHANGE_PREVILAGE(false);
	
	private boolean isUpgrade;
	
	private Right(boolean isUpgrade)
	{
		this.isUpgrade = isUpgrade;
	}

	public boolean isUpgrade()
	{
		return isUpgrade;
	}

	public void setUpgrade( boolean isUpgrade )
	{
		this.isUpgrade = isUpgrade;
	}	
}
